package demo2;

/**
 * 测试单线程环境下
 */
public class Main0 {
    public static void main(String[] args) {
        for (int i = 0; i <10 ; i++) {
            SingleTonLazy instance=SingleTonLazy.getInstance();
            System.out.println(instance);
        }
    }
}
